//
//  TPoint.m
//  Test
//
//  Created by Alexander Trifonov on 14.04.12.
//  Copyright (c) 2012 fgengine@gmail.com. All rights reserved.
//

#import "TPoint.h"

@implementation TPoint

@synthesize x = x;
@synthesize y = y;

+ (id) allocWithX:(float)valueX Y:(float)valueY
{
    return [[self alloc] initWithX:valueX Y:valueY];
}

- (id) initWithX:(float)valueX Y:(float)valueY
{
    self = [super init];
    if(self != nil)
    {
        x = valueX;
        y = valueY;
    }
    return self;
}

- (void) dealloc
{
    [super dealloc];
}

@end
